﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="BrainTechLLC.Silverlight.ClientApplication.InputSearchCriteria"
	xmlns:BrainTechLLC_Silverlight_Controls="clr-namespace:BrainTechLLC.Silverlight.Controls;assembly=BrainTechLLC.Silverlight.Controls" xmlns:BrainTechLLC_Silverlight_ClientApplication="clr-namespace:BrainTechLLC.Silverlight.ClientApplication">
    <Grid x:Name="LayoutRoot_Copy" HorizontalAlignment="Stretch" VerticalAlignment="Stretch">
        <Grid.RowDefinitions>
            <RowDefinition Height="20"/>
            <RowDefinition Height="20"/>
            <RowDefinition Height="*"/>         
        </Grid.RowDefinitions>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="120"/>
            <ColumnDefinition Width="*"/>
            <ColumnDefinition Width="90"/>
        </Grid.ColumnDefinitions>
        <TextBlock HorizontalAlignment="Left" VerticalAlignment="Top" Text="Find By Keyword:" TextWrapping="NoWrap"/>
        <TextBox HorizontalAlignment="Stretch" x:Name="txtSearch" KeyDown="txtSearch_KeyDown" VerticalAlignment="Top" Text="" TextWrapping="NoWrap" Grid.Column="1" Width="140" Style="{StaticResource TextBoxNoScroller}" />
        <Button HorizontalAlignment="Stretch" x:Name="btnFind" VerticalAlignment="Top" Content="Search" Grid.Column="2" Click="btnFind_Click"/>

        <TextBlock Grid.Row="1" HorizontalAlignment="Left" VerticalAlignment="Top" Text="Filter by Type:" TextWrapping="NoWrap"/>
        <BrainTechLLC_Silverlight_ClientApplication:TypeFilter x:Name="typeFilter" Grid.Row="1" Grid.ColumnSpan="2" Height="Auto" SelectedTypeChanged="typeFilter_TypeChanged" Grid.Column="1" />

        <TextBlock Grid.Row="2" HorizontalAlignment="Left" VerticalAlignment="Top" Text="List of IDs:" TextWrapping="NoWrap"/>
        <TextBox Grid.Row="2" FontSize="10" HorizontalAlignment="Stretch" x:Name="txtIDs" VerticalAlignment="Stretch" Text="" 
                 ScrollViewer.VerticalScrollBarVisibility="Auto" Grid.Column="1" HorizontalContentAlignment="Left" VerticalContentAlignment="Top" 
                 VerticalScrollBarVisibility="Visible" Padding="2,0,2,0" TextWrapping="Wrap" />
        <CheckBox Content="Only Listed" Checked="CheckBox_Checked" Name="chkShowOnlyListed" Grid.Row="2" Grid.Column="2"/>        
    </Grid>
</UserControl>